package ua.khpi.si.kit49.diploma.db.dao;

import java.util.List;

import ua.khpi.si.kit49.diploma.db.dto.City;

/**
 * Interface dao for entity City
 * 
 * @author netstalk3r
 * 
 */
public interface CityDAO {

	/**
	 * 
	 * method for getting all cities
	 * 
	 * @return list with cities
	 *            
	 */
	List<City> getAllCities();

	/**
	 * 
	 * method for getting city by id
	 * 
	 * @param id
	 *            id for city
	 * @return city with current id
	 */
	City getCityById(Integer id);

	/**
	 * 
	 * method for getting amount of cities
	 * 
	 * @return amount of cities
	 * 
	 */
	Integer getAmountOfCity();

}
